package com.zhenwgang.listen_books.view_object;

import com.zhenwgang.listen_books.data_object.UserDO;
import lombok.Data;

/**
 * 用户前端资源
 * @author Violet
 * @date 2022/07/07 09:41
 **/

@Data
public class UserVO {
    public Integer uid;
    public String username;

    public UserVO(UserDO userDO){
        this.uid = userDO.getUid();
        this.username = userDO.getUsername();
    }
}
